package org.apache.ibatis.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.entity.User;

/**
 * @author hanson.huang
 * @version V1.0
 * @InterfaceName UserMapper
 * @date 2025/1/6 15:15
 **/
@Mapper
public interface UserMapper {
  User selectUser(int id);

  User selectAllUsers();

  void insertUser(User user);

  void updateUser(User user);

  void deleteUser(int id);
}
